package com.gudaichaoren.spider.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 彩票_双色球爬取规则
 * </p>
 *
 * @author 古代超人
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_lotteries_shuangse_rule")
@ApiModel(value="LotteriesShuangseRule对象", description="彩票_双色球爬取规则")
public class LotteriesShuangseRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "爬取数据key")
    private String crawlDataKey;

    @ApiModelProperty(value = "爬去数据value")
    private String crawlDataValue;

    @ApiModelProperty(value = "爬取type")
    private Integer ruleType;

    private Date updateTime;

    @ApiModelProperty(value = "状态，0为停用，1为有效")
    private Integer status;

    @ApiModelProperty(value = "状态，1为删除")
    @TableLogic
    private Integer deleted;


}
